Location:
Search - OCX LPCTSTR
Search list
Description: 构成及源代码:
1 构成:VB程序调用VC编写的OCX,这样做是为了方面大家自己做界面。
2 OCX的输出函数:只有一个:void CQQDecoderCtrl::Decoder(LPCTSTR fileQQ, LPCTSTR filePwd) ,第一个参数是QQ的密码文件,第二个参数是密码字典。
3 源代码:VB的源代码不作介绍了,附件里面有。这里只说明一下VC的源代码(附件里面也有)。-composition and source code : a pose : VB program called VC prepared by the OCX, This is to respect everyone doing their own interface. 2 OCX output function : Only one : void CQQDecoderCtrl : : Decoder (LPCTSTR fileQQ, LPCTSTR filePwd) The first parameter is the password file QQ, and the second parameter is the password dictionary. 3 source code : VB source code is not introduced, annex inside. Here is the elaborate VC source code (which are also Annex).
Platform: |
Size: 123286 |
Author: 陈朋 |
Hits:
Description: 构成及源代码:
1 构成:VB程序调用VC编写的OCX,这样做是为了方面大家自己做界面。
2 OCX的输出函数:只有一个:void CQQDecoderCtrl::Decoder(LPCTSTR fileQQ, LPCTSTR filePwd) ,第一个参数是QQ的密码文件,第二个参数是密码字典。
3 源代码:VB的源代码不作介绍了,附件里面有。这里只说明一下VC的源代码(附件里面也有)。-composition and source code : a pose : VB program called VC prepared by the OCX, This is to respect everyone doing their own interface. 2 OCX output function : Only one : void CQQDecoderCtrl : : Decoder (LPCTSTR fileQQ, LPCTSTR filePwd) The first parameter is the password file QQ, and the second parameter is the password dictionary. 3 source code : VB source code is not introduced, annex inside. Here is the elaborate VC source code (which are also Annex).
Platform: |
Size: 122880 |
Author: 陈朋 |
Hits:
Description: 带滑动效果的图像显示控件,翻页时带滑动的过渡效果,可放大图像显示,可选择图像
控件中提供的接口方法:
1.可由属性设置背景色,前景色,每一屏幕显示图像的行数和列数,图像之间的间隔
2.BOOL SetImageFolder(LPCTSTR PathName) 设置图像文件夹的路径,将自动枚举该文件夹下的所有图像,并显示。成功则返回true
3.BOOL PageBack() 显示上一页。成功则返回true
4.BOOL PageNext() 显示下一页。成功则返回true
5.CString GetImagePathName() 得到所选文件的完整路径
6.short GetAllPage() 得到总页码
7.short GetCurPage() 得到当前所在页码
控件使用方法:
step1:把ImageSelectorCtrl.ocx拷到c:\windows\system32\下
注意:可能需要MFC中的一些DLL,一般电脑上都有的,作者只提供了MSVCRTD.DLL
step2:运行regsvr.bat进行控件注册
step3:运行demo.exe测试
-slide image selector
Platform: |
Size: 537600 |
Author: jian |
Hits: